#ifndef Statement_h
#define Statement_h

#include <string>
using namespace std;

enum eStatementType {
	eStatementContent = 0,
	eStatementRemove,
	eStatementMessage,
	eStatementMove,
	eStatementExit,
	eStatementConversation
};

class cStatement {
public:
	bool Eval();
	void Do();
	inline void SetType(string lType) {
		if (lType.compare("Content") == 0)  
			meType = eStatementContent;
		else if (lType.compare("Remove")== 0)
			meType = eStatementRemove;
		else if (lType.compare("Message")== 0)
			meType = eStatementMessage;
		else if (lType.compare("Move")== 0)
			meType = eStatementMove;
		else if (lType.compare("Exit")== 0)
			meType = eStatementExit;
		else if (lType.compare("Conversation")== 0)
			meType = eStatementConversation;
	}

	inline void setParam1(string lParam) {macParam1 = lParam;}
	inline void setParam2(string lParam) {macParam2 = lParam;}
private:
	eStatementType meType;
	string macParam1;
	string macParam2;
};
#endif